export default (safe) => {
  return {
    index: true,
    page: {
      background: false,
      total: 1000,
    },
    option: {
      header: false,
      excelBtn: true,
      column: [
        {
          label: "姓名",
          prop: "name",
        },
      ],
    },
    align: "center",
    headerAlign: "center",
    border: true,
    stripe: true,
    column: [
      {
        label: "名称",
        prop: "name",
        search: true,
        rules: [
          {
            required: true,
            message: "请输入名称",
            trigger: "blur",
          },
        ],
      },
      {
        label: "电话号码",
        prop: "phone",
        search: true,
        rules: [
          {
            required: true,
            message: "请输入电话号码",
            trigger: "blur",
          },
        ],
      },
      {
        label: "邮箱",
        prop: "email",
        search: true,
        rules: [
          {
            required: true,
            message: "请输入参数",
            trigger: "blur",
          },
        ],
      },
      {
        label: "上级部门",
        prop: "parentId",
        search: false,
        rules: [
          {
            required: true,
            message: "请输入上级部门",
            trigger: "blur",
          },
        ],
      },
      {
        label: "负责人",
        prop: "leaderUserId",
        search: false,
        rules: [
          {
            required: true,
            message: "请输入负责人ID",
            trigger: "blur",
          },
        ],
      },
    ],
  };
};
